home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / comm / bbs / citsrc6K05.lha / vortex.h < prev    next >
C/C++ Source or Header  |  1996-11-05  |  1KB  |  37 lines

  1. /**
  2.   This include is used by vortex.c and vexfind.c
  3.   to ensure a common definition for all vortex checking
  4.   code.
  5.  
  6.   Structure:
  7.   Each File is named by Room name(normalized).
  8.   Up to the last 120 message in the room will be tracked.
  9.   The data structure maintained is a partial message header.
  10.  
  11. **/
  12.  
  13. #define MAX_VORTEX_SIZE  (120)   /* Maximum of message header info to keep */
  14.  
  15. typedef struct
  16.   {
  17.   label mborig;         /* Node Creating the Message      */
  18.   label mbsrcId;        /* message ID on system of origin */
  19.   label mbdate ;        /* creation date                  */
  20.   label mbtime ;        /* creation time                  */
  21.   }  MESSAGE_ENTRY_TYPE;
  22.  
  23. typedef struct
  24.   {
  25.   int   index;                      /* Number of entries   */
  26.   int   next_slot;                  /* next free slot      */
  27.   MESSAGE_ENTRY_TYPE  msg_entry[MAX_VORTEX_SIZE];  /* Array msg headers per room */
  28.   } ROOM_ENTRY_TYPE;
  29.  
  30. struct elist
  31.   {
  32.   struct elist *next;
  33.   label room;    /* room with problem */
  34.   label nodeid;  /* nodeid of system  */
  35.   };
  36.  
  37.